-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentry errors #606
Sentry errors #606
Conversation
…86f4f2288baec1c541ce36d)
…beddb0406ba50ffa2a56a27f66)
Deploying with Cloudflare Pages
|
currentViewData?.scanDecisions === undefined | ||
|| currentViewData?.scanDecisions?.length === 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currentViewData?.scanDecisions === undefined | |
|| currentViewData?.scanDecisions?.length === 0 | |
!currentViewData?.scanDecisions?.length |
Is this equivalent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks for the short version!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I'm discovering that neither works; we cannot use the ?
operator like this within the template. vuejs/vue#11088.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we did want to use that syntax, we could throw it into a computed property and use that in the template.
Codecov ReportBase: 72.77% // Head: 72.77% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #606 +/- ##
=======================================
Coverage 72.77% 72.77%
=======================================
Files 38 38
Lines 1627 1627
=======================================
Hits 1184 1184
Misses 443 443 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
LGTM. I think moving a lot of this to typescript would catch a lot of these errors at build time. |
* Enforce consistent api response destructuring (Sentry error dfc24eeb686f4f2288baec1c541ce36d) * Avoid sending requests with undefined references (Sentry error 873d87beddb0406ba50ffa2a56a27f66) * Avoid accessing properties of undefined objects (various Sentry errors) * No optional chaining in template
No description provided.